{
  "properties" : { },
  "id" : "781896facffc4641bacf7839f7373a69",
  "script" : null,
  "groupId" : "6a869ffd71b240c6a1576faddb094650",
  "name" : "获取目录下文件",
  "createTime" : null,
  "updateTime" : 1738742187801,
  "lock" : null,
  "createBy" : null,
  "updateBy" : "可辉",
  "path" : "hqmlwj",
  "method" : "GET",
  "parameters" : [ ],
  "options" : [ ],
  "requestBody" : null,
  "headers" : [ ],
  "paths" : [ ],
  "responseBody" : "{\n    \"code\": 200,\n    \"msg\": \"success\",\n    \"data\": \"Hello magic-api\"\n}",
  "description" : null,
  "requestBodyDefinition" : null,
  "responseBodyDefinition" : null
}
================================
import java.io.File;
import log;

var files_1 = new File('F:\\file\\离线网页').listFiles();

for (file1 in files_1) {
    log.info(file1.getName());
    
    for (file2 in new File(file1.getPath()).listFiles()) {
        log.info('--'+file2.getPath().substring(file2.getPath().lastIndexOf('\\') + 1).replace('.mht',''));
    }

}


return 'Hello magic-api'